package com.love.marriage.TecentIm.service;

import com.love.marriage.TecentIm.vo.LocalImChatListVo;
import com.love.marriage.TecentIm.vo.LocalImportAccountVo;

import java.util.List;
import java.util.Map;

public interface LocalImService {

    String sendMessage(String fromUser, String toUser, String message) throws Exception;

    Boolean importImUser(List<LocalImportAccountVo> accountList) throws Exception;

    String loginLocalAdmin(String phone, String password) throws Exception;

    String findImUserInfo(String fromUserId, String toUserId) throws Exception;

    String loginLocalIm(String phone, String password, Integer appId) throws Exception;

    Integer getLocalImId(String account) throws Exception;

    List<LocalImChatListVo> getLocalImChatList(Long userId, String password, Integer appId, String page, String limit) throws Exception;

    List<Map<String, Object>> getLocalImChatHistory(Long userId, String password, Integer appId, Integer toLocalImId, String id) throws Exception;
}
